﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SimpleFactoryPattern.MyChartFactory
{
    class LineChart : Chart
    {
        public LineChart()
        {
            Console.WriteLine("创建折线图！");
        }

        public void Display()
        {
            Console.WriteLine("显示折线图。");
        }
    }
}
